export default function feach(optons){
return new Promise((resolve,reject)=>{
  wx.request({
    url:optons.url,
    data:optons.data,
    dataType:"json",
    method:optons.method,
    responseType:"text",
    header:{"Content-Type":"application/x-www-form-urlencoded"},
    success:resolve,
    fail:reject,
  }) 

})
}